package com.novel.pojo.system;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "system_order")
public class Order {
    @Id
    private String id;//主键id
    private String orderNo;//订单号
    private Date createdTime;//创建时间
    private String createdIp;//创建时得ip
    private String userId;//用户id
    private Double cost;//充值花费得钱
    private Integer balance;//获取得虚拟币
    private Integer status;//订单状态   0:未支付  1:已经支付  -1:订单取消
}